package com.thunbu.thunbu_meeting_system.bean

import com.thunbu.thunbu_meeting_system.view.treeView.NodeModel
import java.io.Serializable

data class AddressModel(
    val id: Long?,//主键
    val placeNo: String?,//地点编号
    val placeName: String?,//地点名称
    val children: List<AddressModel>?,

):Serializable,NodeModel{
    override fun getmId(): Long {
        return id?:-1
    }

    override fun getName(): String? {
        return placeName
    }

    override fun getCode(): String? {
        return placeNo
    }

    override fun getChild(): List<NodeModel>? {
        return children
    }

}
